package org.esk.dablog.gwt.dablog.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.ServiceDefTarget;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.AsyncCallback;

import java.util.List;

/**
 * This class 
 * User: esk
 * Date: 04.01.2007
 * Time: 12:35:10
 * $Id:$
 */
public interface EntryGWTServiceAsync {

    /**
     * lists forum topics
     * @param asyncCallback
     */
    void listForumTopics(AsyncCallback asyncCallback);

    /**
     * lists forum posts
     * @return
     */
    void listForumPosts(long topicId, AsyncCallback callback);

    /**
     * lists post comments
     * @param id
     * @param asyncCallback
     */
    void listPostComments(long id, AsyncCallback asyncCallback);
}
